<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
          body{
           width: 600px;
           height: 600px;
           text-align: center;
           margin: 130 auto;
           line-height: 200px;
        }
        div {
            width: 200px;
            height: 200px;
            float: left;
            text-align: center;
            font-size: 60;
        }
        .a{
            background-color: blue;
        }
        .b{
            background-color:yellowgreen;
        }
        .c{
            background-color: pink;
        }
        .d{
            background-color:#ff0;
        }
        .e{
            background-color: #0ff;
        }
        .f{
            background-color:#f00f;
        }
        .g{
            background-color:#00ff00;
        }
        .h{
            background-color:rosybrown;
        }
        .i{
            background-color:#f0f;
        }
    </style>
</head>
<body>
    <div class="a">1</div>
    <div class="b">2</div>
    <div class="c">3</div>
    <div class="d">4</div>
    <div class="e">5</div>
    <div class="f">6</div>
    <div class="g">7</div>
    <div class="h">8</div>
    <div class="i">9</div>
</body>
</html>